package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.util.Date;
/**
 * 卡应用开通表
 * @author sun
 *
 */
public class AppOpenReg implements Serializable {

	/** 应用开通ID -uuid*/
    private String appOpenregId;

    /** 卡片序列号 */
    private String cardSeqNo;

    /** 市民卡号 */
    private String citizenCardNo;

    /** 应用类型 */
    private String appType;

    /** 开通日期 */
    private Date openDate;

    /** 是否有有效期     0.没有 1.有 */
    private String isValid;

    /** 有效期起 */
    private Date validBegin;

    /** 有效期止 */
    private Date validEnd;

    /** 停用日期 */
    private Date stopDate;

    /** 恢复日期 */
    private Date retrieveDate;

    /** 应用状态   1.开通 0.停用 */
    private String appStatus;

    /** 备注   设置值 分清补、换卡、挂失*/
    private String remark;

    /** 创建柜员号 */
    private String crtOperator;

    /** 创建日期 */
    private Date crtDate;

    /** 最后修改柜员号 */
    private String lastOperator;

    /** 最后修改日期 */
    private Date lastDate;
    
    /** 是否已退押金  开通应用时 写 未退  Y：已退    N：未退*/
    private String isDeposit;;

    public String getIsDeposit() {
		return isDeposit;
	}

	public void setIsDeposit(String isDeposit) {
		this.isDeposit = isDeposit;
	}

	public String getAppOpenregId() {
        return appOpenregId;
    }

    public void setAppOpenregId(String appOpenregId) {
        this.appOpenregId = appOpenregId == null ? null : appOpenregId.trim();
    }

    public String getCardSeqNo() {
        return cardSeqNo;
    }

    public void setCardSeqNo(String cardSeqNo) {
        this.cardSeqNo = cardSeqNo == null ? null : cardSeqNo.trim();
    }

    public String getCitizenCardNo() {
        return citizenCardNo;
    }

    public void setCitizenCardNo(String citizenCardNo) {
        this.citizenCardNo = citizenCardNo == null ? null : citizenCardNo.trim();
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType == null ? null : appType.trim();
    }


	public Date getOpenDate() {
        return openDate;
    }

    public void setOpenDate(Date openDate) {
        this.openDate = openDate;
    }

    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid == null ? null : isValid.trim();
    }

    public Date getValidBegin() {
        return validBegin;
    }

    public void setValidBegin(Date validBegin) {
        this.validBegin = validBegin;
    }

    public Date getValidEnd() {
        return validEnd;
    }

    public void setValidEnd(Date validEnd) {
        this.validEnd = validEnd;
    }

    public Date getStopDate() {
        return stopDate;
    }

    public void setStopDate(Date stopDate) {
        this.stopDate = stopDate;
    }

    public Date getRetrieveDate() {
        return retrieveDate;
    }

    public void setRetrieveDate(Date retrieveDate) {
        this.retrieveDate = retrieveDate;
    }

    public String getAppStatus() {
        return appStatus;
    }

    public void setAppStatus(String appStatus) {
        this.appStatus = appStatus == null ? null : appStatus.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCrtOperator() {
        return crtOperator;
    }

    public void setCrtOperator(String crtOperator) {
        this.crtOperator = crtOperator == null ? null : crtOperator.trim();
    }

    public Date getCrtDate() {
        return crtDate;
    }

    public void setCrtDate(Date crtDate) {
        this.crtDate = crtDate;
    }

    public String getLastOperator() {
        return lastOperator;
    }

    public void setLastOperator(String lastOperator) {
        this.lastOperator = lastOperator == null ? null : lastOperator.trim();
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", appOpenregId=").append(appOpenregId);
        sb.append(", cardSeqNo=").append(cardSeqNo);
        sb.append(", citizenCardNo=").append(citizenCardNo);
        sb.append(", appType=").append(appType);
        sb.append(", openDate=").append(openDate);
        sb.append(", isValid=").append(isValid);
        sb.append(", validBegin=").append(validBegin);
        sb.append(", validEnd=").append(validEnd);
        sb.append(", stopDate=").append(stopDate);
        sb.append(", retrieveDate=").append(retrieveDate);
        sb.append(", appStatus=").append(appStatus);
        sb.append(", remark=").append(remark);
        sb.append(", crtOperator=").append(crtOperator);
        sb.append(", crtDate=").append(crtDate);
        sb.append(", lastOperator=").append(lastOperator);
        sb.append(", lastDate=").append(lastDate);
        sb.append("]");
        return sb.toString();
    }
}